package com.futures.questionbank.ui.home;

import android.widget.ImageView;
import android.widget.TextView;

import com.bumptech.glide.Glide;
import com.futures.questionbank.Constants.Constants;
import com.futures.questionbank.R;
import com.futures.questionbank.base.BaseActivity;

import static com.futures.questionbank.R.layout.info_activity2;

public class InfoActivity3 extends BaseActivity {
    @Override
    protected void loadViewLayout() {
        setContentView(R.layout.info_activity3);
        setTitle("考试指南");
    }

    @Override
    protected void loadData() {
       TextView tv =  findViewById(R.id.tv);
       ImageView iv =  findViewById(R.id.iv);
       tv.setText(getIntent().getStringExtra("desc"));
        Glide.with(this).load(getIntent().getStringExtra("img"))
                //   .transition(withCrossFade())
             //   .apply(options)
                .into(iv);
    }
}
